package kr.or.kosta.otr.service.interestservice;

import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;

import kr.or.kosta.otr.vo.CompanyReviewVO;
import kr.or.kosta.otr.vo.CompanyVO;
import kr.or.kosta.otr.vo.InterestCompanyVO;
import kr.or.kosta.otr.vo.InterestReviewVO;
import kr.or.kosta.otr.vo.TrueOrFalseVO;
import kr.or.kosta.otr.vo.UserVO;

public interface InterestService {
	void addInterestCompany(InterestCompanyVO interestCompanyVO)throws SQLException;
	void deleteInterestCompany(int interestCompanyId)throws SQLException;
	ArrayList<InterestCompanyVO> getAllInterestCompany(String userId)throws SQLException;
	ArrayList<CompanyVO> getCompanyInfo(HashMap<String,Object> map)throws SQLException;
	CompanyVO getOneCompany(int companyId)throws SQLException;
	boolean checkInterestCompany(HashMap<String, Object> map) throws SQLException;
	void addInterestReview(InterestReviewVO vo)throws SQLException;
	void deleteInterestReview(HashMap<String, Object> map)throws SQLException;
	ArrayList<InterestReviewVO> getAllInterestReview(String userId)throws SQLException;
	CompanyReviewVO getOneCompanyReviewById(int companyReviewId)throws SQLException;
	ArrayList<TrueOrFalseVO> getCompanyReviewVerifyByInterestReview(int reviewId)throws SQLException;
	void updatePointPlus(HashMap<String, Object> map)throws SQLException;
	UserVO getOneUser(HashMap<String, String> map)throws SQLException;
	void updatePointMinus(HashMap<String, Object> map)throws SQLException;
}
